package com.qlzb.taskmanagement.persistentData.dao;


import com.qlzb.taskmanagement.persistentData.entity.OperationOffsensor;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface OperationOffsensorDao extends CrudRepository<OperationOffsensor,Integer> {
    public List<OperationOffsensor> findByAreaId(String areaId);
    public void deleteByAreaId(String areaId);
    public OperationOffsensor findFirstByStationCode(String stationCode);
    OperationOffsensor findFirstByStationOperId(String stationOperId);
}
